package com.itheima.advantagesup.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author iTaotao
 * @date 2023/7/26 12:30
 * @desciption: 管理员添加
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysUserCreateDTO implements Serializable {
    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("账户名")
    private String login_name;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("角色id数组")
    private String[] roleId;

    @ApiModelProperty("账户状态")
    private Integer status;
}
